export const useActiveMenu = () => {
  const route = useRoute();
  const activeMenu = computed(() => {
    const { meta, path } = route;
    if (meta.activeMenu) {
      return meta.activeMenu as string;
    }
    return path;
  });

  return {
    activeMenu
  };
};
